package org.hrhr74.service;

import jakarta.servlet.http.HttpSession;
import org.hrhr74.entity.*;

public interface IUserService {

    Result sendCode(String phone, HttpSession session);

    Result login_code(LoginCode login, HttpSession session);

    Result login_password(LoginPassword login, HttpSession session);

    Result editUser(User user);

    Result getUserByAccount();

    Result updatePhone(UpdatePhone newPhone);
}
